package com.gk.panda.apis.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("实时抓拍添加实体类")
@AllArgsConstructor
public class RealtimeShootSaveDto {

    @ApiModelProperty("资源地址")
    private String path;

    @ApiModelProperty("拍摄时间")
    @TableField("get_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date getTime;

    @ApiModelProperty("设备名称")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty("设备编号")
    @TableField("device_sn")
    private String deviceSn;

    @ApiModelProperty("拍摄地点")
    private String place;

    @ApiModelProperty("事件")
    private String event;

    @ApiModelProperty("来源0-陈博士1-大华2-巡护")
    private Integer source;

    @ApiModelProperty("经度")
    private String lot;

    @ApiModelProperty("纬度")
    private String lat;

    @ApiModelProperty("机构id")
    private Integer orgId;

    @ApiModelProperty("上传人")
    private String putPerson;




}
